button {
  all: unset;
}

.radioGroupRoot {
  & .label {
    padding-left: 12px;
    font-size: 15px;
    line-height: 1;
    color: var(--color-light-100);

    &:hover {
      cursor: pointer;
    }
  }

  &[data-disabled] {
    border-color: var(--color-accent-900);

    & .label {
      color: var(--color-light-900);
    }
  }
}

.radioItemBlock {
  display: flex;
  align-items: center;
  margin: 16px 0;

  & .radioGroupItem {
    width: 16px;
    height: 16px;

    background-color: inherit;
    border: 2px solid var(--color-accent-500);
    border-radius: 100%;

    &:hover {
      cursor: pointer;
      background-color: var(--color-dark-500);
      box-shadow: 0 0 0 6px var(--color-dark-500);
    }

    &:focus {
      background-color: var(--color-dark-700);
      box-shadow: 0 0 0 6px var(--color-dark-700);
    }

    &:active {
      background-color: var(--color-accent-900);
      box-shadow: 0 0 0 6px var(--color-accent-900);
    }

    &[data-disabled] {
      border-color: var(--color-accent-900);

      & .label {
        color: var(--color-light-900);
      }

      &:active {
        background-color: inherit;
        box-shadow: none;
      }

      &:focus {
        box-shadow: none;
      }
    }
  }
}

.radioGroupIndicator {
  position: relative;

  display: flex;
  align-items: center;
  justify-content: center;

  width: 100%;
  height: 100%;

  &::after {
    content: '';

    display: block;

    width: 10px;
    height: 10px;

    background-color: var(--color-accent-500);
    border-radius: 50%;
  }

  &[data-disabled] {
    &::after {
      background-color: var(--color-accent-900);
    }
  }
}
